﻿using System;
using System.Windows.Controls;
using System.Windows.Media.Animation;

namespace eLearning.View.Tile
{
    public partial class TileWiki : UserControl
    {
        public TileWiki()
        {
            InitializeComponent();
            Storyboard anim = (Storyboard)FindName("tileWikiAnimTop");
            anim.Begin();
        }

        private void tileWikiAnimTop_Completed_1(object sender, EventArgs e)
        {
            Storyboard anim = (Storyboard)FindName("tileWikiAnimBottom");
            anim.Begin();
        }

        private void tileWikiAnimBottom_Completed_1(object sender, EventArgs e)
        {
            Storyboard anim = (Storyboard)FindName("tileWikiAnimTop");
            anim.Begin();
        }
    }
}
